package cn.powerone.scm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.powerone.common.annotation.Excel;
import cn.powerone.common.core.domain.BaseEntity;

/**
 * 供应商地址对象 scm_supplier_address
 * 
 * @author PowerOne
 * @date 2025-06-26
 */
public class ScmSupplierAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 供应商ID */
//    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 供应商编号 仅仅为上传和下载使用*/
    @Excel(name = "供应商编号")
    private String supplierNo;

    /** 邮编 */
    @Excel(name = "邮编")
    private String zipCode;

    /** 姓名 */
    @Excel(name = "联系人")
    private String contactName;

    /** 电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 地址 */
    @Excel(name = "地址")
    private String detailAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }

    public String getZipCode() 
    {
        return zipCode;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierId", getSupplierId())
            .append("contactName", getContactName())
            .append("zipCode", getZipCode())
            .append("telephone", getTelephone())
            .append("detailAddress", getDetailAddress())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getSupplierNo() {
        return supplierNo;
    }

    public void setSupplierNo(String supplierNo) {
        this.supplierNo = supplierNo;
    }
}
